import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
// 导入路由配置
import AppRouter from './routes/index.tsx'
// 导入并初始化i18n
import './i18n'
// 导入响应式字体大小设置
import setupResponsiveFontSize from './utils/responsiveFontSize'

// 设置响应式字体大小
setupResponsiveFontSize()

createRoot(document.getElementById('root')!).render(
  <StrictMode>
    <AppRouter />
  </StrictMode>,
)
